//
//  Const.swift
//  Swift
//
//  Created by 贺瑞 on 2017/8/2.
//  Copyright © 2017年 herui. All rights reserved.
//

import Foundation


func HHLog<T>(_ msg : T, _ filePath:String = #file, _ line:Int = #line) {

#if DEBUG
    let fileName = ((filePath as NSString).lastPathComponent as NSString).deletingPathExtension
    print("\(fileName)[\(line)]:: \(msg)")
#endif
}


public let OAuthURL: String = "https://api.weibo.com/oauth2/authorize?client_id=429458189&redirect_uri=http://www.baidu.com"

public let AccessTokenURL: String = "https://api.weibo.com/oauth2/access_token"

public let UserInfoURL: String = "https://api.weibo.com/2/users/show.json"

public let HomeTimelineURL: String = "https://api.weibo.com/2/statuses/home_timeline.json"

